package com.saumya.robotlegs.controller
{
	import com.saumya.robotlegs.events.PublishEvent;
	import com.saumya.robotlegs.model.JsflModel;
	import com.saumya.utils.Util;
	
	import nl.demonsters.debugger.MonsterDebugger;
	
	import org.robotlegs.mvcs.Command;

	public class PublishOneBatchCommand extends Command
	{
		[Inject]
		public var publishEvent:PublishEvent;
		
		public function PublishOneBatchCommand()
		{
			//Empty
		}
		
		public override function execute():void
		{
			//MonsterDebugger.trace(this,publishEvent.getFileToPublish());
			
			var util:Util=new Util();
			util.openFileWithNativeApp(publishEvent.getFileToPublish());
			
		}
	}
}